package com.innjia.sys.entity;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.innjia.base.entity.BaseEntity;

import java.io.Serializable;
import java.util.List;


/**
 * 系统用户表
 * 
 * @author chenshun
 * @email huangxianyuan@gmail.com
 * @date 2017-05-03 09:41:38
 */
@JsonIgnoreProperties(ignoreUnknown = true)
public class UserEntity extends BaseEntity implements Serializable {
    private static final long serialVersionUID = 1L;
    
	/**
	 * 角色ID列表
	 */
	private List<String> roleIdList;

	/**
	 * id主键
	 */
	private String id;

	/**
	 * 用户名
	 */
	private String userName;

	/**
	 * 登陆帐户
	 */
	private String loginName;

	/**
	 * 密码
	 */
	@JsonIgnore
	private String passWord;

	/**
	 * 状态(0正常 -1禁用)
	 */
	private String status;

	/**
	 * 电话
	 */
	private String phone;

	/**
	 * 头像
	 */
	private String photo;

	/**
	 * salt盐加密
	 */
	@JsonIgnore
	private String salt;

	/**
	 * 邮箱
	 */
	private String email;

	/**
	 * 支付宝用户ID
	 */
	@JsonIgnore
	private String alipayId;

	/**
	 * 雄安通用户ID
	 */
	@JsonIgnore
	private String xionanId;

	/**
	 * 新密码
	 */
	private String newPassWord;

	public String getAlipayId() {
		return alipayId;
	}

	public void setAlipayId(String alipayId) {
		this.alipayId = alipayId;
	}

	public String getXionanId() {
		return xionanId;
	}

	public void setXionanId(String xionanId) {
		this.xionanId = xionanId;
	}

    public String getPhoto() {
        return photo;
    }

    public void setPhoto(String photo) {
        this.photo = photo;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

	/**
	 * 获取：id主键
	 */
	public String getId() {
		return id;
	}

	/**
     * 设置：id主键
     */
    public void setId(String id) {
        this.id = id;
    }

	/**
	 * 获取：用户名
	 */
	public String getUserName() {
		return userName;
	}

	/**
     * 设置：用户名
     */
    public void setUserName(String userName) {
        this.userName = userName;
    }

	/**
	 * 获取：登陆帐户
	 */
	public String getLoginName() {
		return loginName;
	}

	/**
     * 设置：登陆帐户
     */
    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

	/**
	 * 获取：密码
	 */
	public String getPassWord() {
		return passWord;
	}

    /**
     * 设置：密码
     */
    public void setPassWord(String passWord) {
        this.passWord = passWord;
    }

    /**
	 * 获取：状态(0正常 -1禁用)
	 */
	public String getStatus() {
		return status;
	}

    /**
     * 设置：状态(0正常 -1禁用)
     */
    public void setStatus(String status) {
        this.status = status;
    }

    /**
	 * 获取：电话
	 */
	public String getPhone() {
		return phone;
	}

    /**
     * 设置：电话
     */
    public void setPhone(String phone) {
        this.phone = phone;
    }

	public List<String> getRoleIdList() {
		return roleIdList;
	}

	public void setRoleIdList(List<String> roleIdList) {
		this.roleIdList = roleIdList;
	}

	public String getNewPassWord() {
		return newPassWord;
	}

	public void setNewPassWord(String newPassWord) {
		this.newPassWord = newPassWord;
	}

	public String getSalt() {
		return salt;
	}

	public void setSalt(String salt) {
		this.salt = salt;
	}
}
